// source --> https://en.belfaso.info/wp-content/plugins/wp-video-lightbox/js/video-lightbox.js?ver=3.1.6 jQuery(document).ready(function($) { //WP Video Lightbox Plugin - http://www.tipsandtricks-hq.com/?p=2700 $("a[rel^="+vlpp_vars.prettyPhoto_rel+"]").prettyPhoto({ hook: "rel", animation_speed: vlpp_vars.animation_speed, ajaxcallback: function () {}, slideshow: (vlpp_vars.slideshow=="false") ? false : vlpp_vars.slideshow, autoplay_slideshow: (vlpp_vars.autoplay_slideshow=="true") ? true : false, opacity: vlpp_vars.opacity, show_title: (vlpp_vars.show_title=="true") ? true : false, allow_resize: (vlpp_vars.allow_resize=="true") ? true : false, allow_expand: (vlpp_vars.allow_expand=="true") ? true : false, default_width: vlpp_vars.default_width, default_height: vlpp_vars.default_height, counter_separator_label: vlpp_vars.counter_separator_label, theme: vlpp_vars.theme, horizontal_padding: vlpp_vars.horizontal_padding, hideflash: (vlpp_vars.hideflash=="true") ? true : false, wmode: vlpp_vars.wmode, autoplay: (vlpp_vars.autoplay=="true") ? true : false, modal: (vlpp_vars.modal=="true") ? true : false, deeplinking: (vlpp_vars.deeplinking=="true") ? true : false, overlay_gallery: (vlpp_vars.overlay_gallery=="true") ? true : false, overlay_gallery_max: vlpp_vars.overlay_gallery_max, keyboard_shortcuts: (vlpp_vars.keyboard_shortcuts=="true") ? true : false, changepicturecallback: function(){}, callback: function(){}, ie6_fallback: (vlpp_vars.ie6_fallback=="true") ? true : false, markup: '
\
 
\
\
\
\
\
\
\
\
\
\
\
\ Expand \
\ next \ previous \
\
\
\
\ Previous \

0/0

\ Next \
\

\ {pp_social} \ Close \
\
\
\
\
\
\
\
\
\
\
\
\
', gallery_markup: '', image_markup: '', flash_markup: '', quicktime_markup: '', iframe_markup: '', inline_markup: '
{content}
', custom_markup: '', social_tools: false }); }); // source --> https://en.belfaso.info/wp-content/plugins/add-to-any/addtoany.min.js?ver=1.0 "function"==typeof jQuery&&jQuery(document).ready(function(a){a("body").on("post-load",function(){window.a2a&&a2a.init_all("page")})}); // source --> https://en.belfaso.info/wp-content/plugins/wp-image-zoooom/assets/js/jquery.image_zoom.min.js?ver=1.3.0 !function(a,o,r,i){"use strict";var e={init:function(o,i){var t=this;if(t.elem=i,t.$elem=a(i),t.options=o,t.img_big={src:t.$elem.attr("src")},t.$elem.data("zoom-image"))t.img_big.src=t.$elem.data("zoom-image");else if(t.$elem.attr("srcset")){var e=t.$elem.attr("srcset").split(","),n=0,s="";a.each(e,function(o,i){var t=a.trim(i).split(" ");parseInt(t[1])>n&&(n=parseInt(t[1]),s=t[0])}),""!==s&&(t.img_big.src=s)}t.ratio={width:1,height:1},t.zw={height:parseInt(t.options.zoomWindowHeight),width:parseInt(t.options.zoomWindowWidth)},t.lens={height:t.options.lensSize,width:t.options.lensSize},t.screen={height:a(r).height(),width:a(r).width()},t.options.tint&&(t.options.lensColour="none",t.options.lensOpacity="1"),"inner"===t.options.zoomType&&(t.options.showLens=!1),t.$elem.parent().removeAttr("title").removeAttr("alt"),!0===t.options.responsive&&t.screen.width<=t.options.responsiveThreshold&&(t.options.zoomType="inner",t.options.showLens=!1),setTimeout(function(){var o=new Image;o.onload=function(){t.img_big.width=o.width,t.img_big.height=o.height,t.startZoom()},o.src=t.img_big.src},1)},buildZoomContainer:function(){var o=this;o.zoomContainer=a("
").addClass("zoomContainer").css({"-webkit-transform":"translateZ(0)",position:"absolute",left:o.img_small.offset.left+"px",top:o.img_small.offset.top+"px",height:o.img_small.height+"px",width:o.img_small.width+"px","z-index":"999"}).appendTo("body")},buildZoomLens:function(){var o=this;o.options.containLensZoom&&o.zoomContainer.css("overflow","hidden");var i={"background-position":"0px 0px",float:"left",display:"none",border:o.options.borderSize+"px solid "+o.options.borderColour,width:o.options.lensSize+"px",height:o.options.lensSize+"px","border-radius":o.options.borderRadius+"px",cursor:o.options.cursor,"background-repeat":"no-repeat",position:"absolute",overflow:"hidden","z-index":"999"};if(!0===o.options.tint&&(i["-webkit-transform"]="translateZ(0)",i.opacity=o.options.lensOpacity,i["-ms-filter"]="progid:DXImageTransform.Microsoft.Alpha(Opacity="+100*o.options.lensOpacity+")",i.filter="alpha(opacity= "+100*o.options.lensOpacity+")"),"round"===o.options.lensShape){var t=o.options.lensSize/2+o.options.borderSize+"px";i["-webkit-border-radius"]=t,i["-moz-border-radius"]=t,i["border-radius"]=t}o.zoomLens=a("
").addClass("zoomLens").css(i).appendTo(o.zoomContainer).click(function(){o.$elem.trigger("click")})},buildZoomWindow:function(){var o=this;o.lens.height=o.zw.height/o.ratio.height,o.img_big.height").addClass("zoomLens").css(i).appendTo(o.zoomContainer).click(function(){o.$elem.trigger("click")});var t={overflow:"hidden","background-position":"0px 0px","text-align":"center","background-color":o.options.zoomWindowBgColour,width:o.zw.width+"px",height:o.zw.height+"px",float:"left","border-radius":o.options.borderRadius+"px","background-size":o.img_big.width/o.currentZoomLevel+"px "+o.img_big.height/o.currentZoomLevel+"px",display:"none","z-index":"999",border:o.options.borderSize+"px solid "+o.options.borderColour,"background-repeat":"no-repeat",position:"absolute"};if(0").addClass("tintContainer"),o.zoomTint=a("
").addClass("zoomTint").css(i),o.zoomLens.wrap(o.tintContainer),o.zoomLens.after(o.zoomTint);var t={position:"absolute",left:"0px",top:"0px","z-index":"250",opacity:"0","max-width":"none",width:o.img_small.width+"px",height:o.img_small.height+"px"};"window"===o.options.zoomType&&(t.opacity=1),o.zoomTintImage=a("").css(t).attr("src",o.img_big.src).appendTo(o.zoomLens).click(function(){o.$elem.trigger("click")})}},startZoom:function(){var o=this;if(o.isWindowActive=!1,o.isLensActive=!1,o.isTintActive=!1,o.zoomLock=1,o.scrollingLock=!1,o.changeBgSize=!1,o.currentZoomLevel=o.options.zoomLevel,o.img_small={src:o.$elem.attr("src"),width:o.$elem.width(),height:o.$elem.height(),offset:o.$elem.offset()},o.ratio={width:o.img_big.width/o.img_small.width/o.currentZoomLevel,height:o.img_big.height/o.img_small.height/o.currentZoomLevel},(o.ratio.height<1||o.ratio.width<1)&&!0!==o.options.scrollZoom)return!1;o.img_small.offset=o.$elem.offset(),o.buildZoomContainer();var i={};switch(o.options.zoomType){case"lens":o.buildZoomLens(),o.buildTint();break;case"window":i=o.buildZoomWindow(),o.buildTint();break;case"inner":i=o.buildZoomInner()}var t="body";isNaN(o.options.zoomWindowPosition)||(t=o.zoomContainer),o.zoomWindow=a("
").addClass("zoomWindow").css(i).appendTo(t).click(function(){o.$elem.trigger("click")});var e=a("
").addClass("iz_watermark").css({width:o.img_small.width+"px",height:o.img_small.height+"px","vertical-align":o.options.customTextVAlign,display:"table-cell","text-align":o.options.customTextAlign,color:o.options.customTextColor,"font-size":o.options.customTextSize+"px",padding:"3px"}).html(o.options.customText);0").addClass("zoomWindowContainer").css("width",o.zw.width),o.zoomWindow.wrap(o.zoomWindowContainer);var n={backgroundImage:"url('"+o.img_big.src+"')"};"lens"===o.options.zoomType?o.zoomLens.css(n):o.zoomWindow.css(n),o.registerTouchEvents(),o.registerMouseEvents(),o.registerScrollZoom(),o.zoomContainer.add(o.$elem).mouseenter(function(){o.setElements(!0)}).mouseleave(function(){o.scrollLock||o.setElements(!1)}),"inner"!==o.options.zoomType?o.zoomWindow.mouseenter(function(){o.setElements(!1)}):o.showZoomWindow(!1)},registerTouchEvents:function(){var t=this;t.zoomContainer.bind("touchstart",function(o){o.preventDefault();var i=o.originalEvent.touches[0]||o.originalEvent.changedTouches[0];t.mouse={left:parseInt(i.pageX-t.img_small.offset.left),top:parseInt(i.pageY-t.img_small.offset.top)},t.setPosition(i),t.setElements(!0)}),t.zoomContainer.bind("touchend",function(){t.scrollLock||t.setElements(!1)}),t.zoomContainer.bind("touchmove",function(o){o.preventDefault();var i=o.originalEvent.touches[0]||o.originalEvent.changedTouches[0];t.mouse={left:parseInt(i.pageX-t.img_small.offset.left),top:parseInt(i.pageY-t.img_small.offset.top)},t.setPosition(i)})},registerMouseEvents:function(){var i=this,t=function(o){i.mouse={left:parseInt(o.pageX-i.img_small.offset.left),top:parseInt(o.pageY-i.img_small.offset.top)},i.lastX===o.clientX&&i.lastY===o.clientY||(i.setPosition(o),i.currentLoc=o),i.lastX=o.clientX,i.lastY=o.clientY},o=function(o){!1===i.outOfBound&&i.setElements(!0),t(o)};i.$elem.bind("mousemove",o),i.zoomContainer.bind("mousemove",o),"inner"===i.options.zoomType?i.zoomWindow.bind("mousemove",t):(i.zoomLens.bind("mousemove",t),i.options.tint&&i.zoomTint.bind("mousemove",t))},registerScrollZoom:function(){var e=this;if(!e.options.scrollZoom)return!1;1!==e.options.zoomLevel&&e.changeZoomLevel(e.currentZoomLevel);var n=2*e.options.scrollZoomIncrement;e.options.minZoomLevel&&(n=e.options.minZoomLevel);e.zoomContainer.add(e.$elem).bind("mousewheel DOMMouseScroll MozMousePixelScroll",function(o){e.scrollLock=!0,clearTimeout(a.data(this,"timer")),a.data(this,"timer",setTimeout(function(){e.scrollLock=!1},250));var i=o.originalEvent.wheelDelta||-1*o.originalEvent.detail;o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault();var t=0;return e.currentZoomLevel=parseFloat(e.currentZoomLevel),0=n&&(t=e.currentZoomLevel-e.options.scrollZoomIncrement):t=e.currentZoomLevel+e.options.scrollZoomIncrement,e.changeZoomLevel(t),!1})},setElements:function(o){var i=this;if(!i.options.zoomEnabled)return!1;i.isWindowSet&&(i.showZoomWindow(o),i.showLens(o),i.showTint(o))},setPosition:function(o){var i=this;if(!i.options.zoomEnabled)return!1;if(i.options.tint&&"inner"!==i.options.zoomType&&i.zoomTint.css({top:0,left:0}),i.options.responsive&&!i.options.scrollZoom&&i.options.showLens)if("lens"===i.options.zoomType)i.zoomLens.css({width:i.options.lensSize+"px",height:i.options.lensSize+"px"});else{var t=i.zw.height/i.ratio.height;i.img_small.heighti.img_small.height-n.height-2*i.options.lensBorderSize,n.left=i.mouse.lefti.img_small.width-n.width-2*i.options.lensBorderSize,i.bound=n,i.mouse.left<=0||i.mouse.top<0||i.mouse.left>i.img_small.width||i.mouse.top>i.img_small.height)return i.outOfBound=!0,void i.setElements(!1);i.outOfBound=!1;var s=0,a=0;switch(i.options.showLens&&(s=i.mouse.left-i.zoomLens.width()/2,a=i.mouse.top-i.zoomLens.height()/2),n.top&&(a=0),n.left&&(s=i.windowLeftPos=0,i.tintpos=0),i.options.zoomType){case"window":n.bottom&&(a=Math.max(i.img_small.height-i.zoomLens.height()-2*i.options.lensBorderSize,0)),n.right&&(s=i.img_small.width-i.zoomLens.width()-2*i.options.lensBorderSize),i.options.tint&&i.setTintPosition(o);break;case"inner":n.bottom&&(a=Math.max(i.img_small.height-2*i.options.lensBorderSize,0)),n.right&&(s=2*-i.options.lensBorderSize);break;case"lens":i.windowLeftPos=i.zoomLens.width()/2-i.mouse.left*i.ratio.width,i.windowTopPos=i.zoomLens.height()/2-i.mouse.top*i.ratio.height,i.zoomLens.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"}),i.changeBackgroundSize(),i.options.tint&&i.setTintPosition(o)}i.setWindowPosition(o),i.options.showLens&&(i.fullwidth&&"lens"!==i.options.zoomType&&(s=0),i.zoomLens.css({left:s+"px",top:a+"px"}))},showZoomWindow:function(o){var i=this;i.isWindowActive!==o&&(i.fadeEffect(i.zoomWindow,o,i.options.zoomWindowFadeIn,i.options.zoomWindowFadeOut),i.isWindowActive=o)},showLens:function(o){var i=this;i.options.showLens&&i.isLensActive!==o&&(i.fadeEffect(i.zoomLens,o,i.options.lensFadeIn,i.options.lensFadeOut),i.isLensActive=o)},showTint:function(o){var i=this;i.options.tint&&"inner"!==i.options.zoomType&&i.isTintActive!==o&&(o&&i.zoomTint.css({opacity:i.options.tintOpacity}).animate(),i.fadeEffect(i.zoomTint,o,"slow","slow"),i.isTintActive=o)},fadeEffect:function(o,i,t,e){i?0=i.screen.width&&(i.zw.width=i.screen.width-i.$elem.offset().left-e-20,i.zoomWindow.css({width:i.zw.width}),i.zoomLens.css({width:i.zw.width/i.ratio.width}));break;case 8:case 9:case 10:case 11:case 12:!0===i.options.responsive&&"window"===i.options.zoomType&&i.zw.width+2*i.options.borderSize+i.options.zoomWindowOffsetx>=i.$elem.offset().left&&(i.zw.width=i.$elem.offset().left-2*i.options.borderSize-i.options.zoomWindowOffsetx-20,i.zoomWindow.css({width:i.zw.width}),i.zoomLens.css({width:i.zw.width/i.ratio.width})),e=-i.zw.width-2*i.options.borderSize-2*i.options.zoomWindowOffsetx;break;case 5:case 15:e=i.img_small.width-i.zoomWindow.width()-2*i.options.borderSize;break;case 6:case 14:e=i.img_small.width/2-i.zw.width/2-2*i.options.borderSize;break;case 7:case 13:e=0}}i.isWindowSet=!0,t+=i.options.zoomWindowOffsety,e+=i.options.zoomWindowOffsetx,i.zoomWindow.css({top:t,left:e}),"inner"===i.options.zoomType&&i.zoomWindow.css({top:0,left:0}),i.windowLeftPos=i.zoomWindow.width()/2-i.mouse.left*i.ratio.width,i.windowTopPos=i.zoomWindow.height()/2-i.mouse.top*i.ratio.height,i.bound.top&&(i.windowTopPos=0),i.bound.left&&(i.windowLeftPos=0),i.bound.bottom&&(i.windowTopPos=-1*(i.img_big.height/i.currentZoomLevel-i.zoomWindow.height())),i.bound.right&&(i.windowLeftPos=-1*(i.img_big.width/i.currentZoomLevel-i.zoomWindow.width())),i.fullheight&&(i.windowTopPos=0),i.fullwidth&&(i.windowLeftPos=0),"window"!==i.options.zoomType&&"inner"!==i.options.zoomType||(1===i.zoomLock&&(i.ratio.width<=1&&(i.windowLeftPos=0),i.ratio.height<=1&&(i.windowTopPos=0)),i.img_big.heighto.img_small.width&&o.newvalueheight;var i={"background-size":o.img_big.width/o.newvalue+"px "+o.img_big.height/o.newvalue+"px"};"lens"===o.options.zoomType&&o.zoomLens.css(i),o.zoomWindow.css(i),o.changeBgSize=!1}},easingEffect:function(){var o=this;o.xp||(o.xp=0),o.yp||(o.yp=0),o.loop||(o.loop=setInterval(function(){o.xp+=(o.windowLeftPos-o.xp)/o.options.easingAmount,o.yp+=(o.windowTopPos-o.yp)/o.options.easingAmount,o.scrollingLock?(clearInterval(o.loop),o.xp=o.zoomWindow.width()/2-o.mouse.left*o.ratio.width,o.yp=o.zoomWindow.height()/2-o.mouse.top*o.ratio.height,o.changeBackgroundSize(),o.zoomWindow.css({backgroundPosition:o.windowLeftPos+"px "+o.windowTopPos+"px"}),o.scrollingLock=!1,o.loop=!1):(o.changeBackgroundSize(),o.zoomWindow.css({backgroundPosition:o.xp+"px "+o.yp+"px"}))},16))},setTintPosition:function(){var o=this;o.options.tint&&(o.tintpos=o.zoomLens.width()/2-o.mouse.left,o.tintposy=o.zoomLens.height()/2-o.mouse.top,(o.bound.top||o.fullheight)&&(o.tintposy=0),(o.bound.left||o.fullwidth)&&(o.tintpos=0),o.bound.bottom&&(o.tintposy=-1*(o.img_small.height-o.zoomLens.height()-2*o.options.lensBorderSize)),o.bound.right&&(o.tintpos=-1*(o.img_small.width-o.zoomLens.width()-2*o.options.lensBorderSize)),o.zoomTintImage.css({left:o.tintpos+"px",top:o.tintposy+"px"}))},changeZoomLevel:function(o){var i=this;i.scrollingLock=!0;var t=parseFloat(o).toFixed(2);i.newvalue=t;var e=i.img_big.height/i.zw.height,n=i.img_big.width/i.zw.width;"inner"!==i.options.zoomType?(e<=t?(i.newvalueheight=e,i.fullheight=!0):(i.newvalueheight=t,i.fullheight=!1),i.ratio.height=i.img_big.height/i.newvalueheight/i.img_small.height,n<=t?(i.newvaluewidth=n,i.fullwidth=!0):(i.newvaluewidth=t,i.fullwidth=!1),i.ratio.width=i.img_big.width/i.newvaluewidth/i.img_small.width):(e=parseFloat(i.img_big.height/i.img_small.height).toFixed(2),n=parseFloat(i.img_big.width/i.img_small.width).toFixed(2),t=Math.min(e,n,t),i.newvalueheight=t,i.ratio.height=i.img_big.height/t/i.img_small.height,i.fullheight=e<=t,i.ratio.width=i.img_big.width/t/i.img_small.width,n<=t?(i.newvaluewidth=n,i.fullwidth=!0):(i.newvaluewidth=t,i.fullwidth=!1));var s=!0;"inner"===i.options.zoomType&&i.newvaluewidth>n&&(s=!1,i.fullheight=!0,i.fullwidth=!0),s&&(i.zoomLock=0,i.changeZoom=!0,i.zw.height/i.ratio.height<=i.img_small.height&&(i.currentZoomLevel=i.newvalueheight,i.changeBgSize=!0,"window"===i.options.zoomType&&i.zoomLens.css({height:String(i.zw.height/i.ratio.height)+"px"})),i.zw.width/i.ratio.width<=i.img_small.width&&("inner"!==i.options.zoomType&&i.newvaluewidth>i.newvalueheight&&(i.currentZoomLevel=i.newvaluewidth),i.changeBgSize=!0,"window"===i.options.zoomType&&i.zoomLens.css({width:String(i.zw.width/i.ratio.width)+"px"})),"inner"===i.options.zoomType&&(i.changeBgSize=!0,i.img_small.width!==i.img_small.height&&(i.currentZoomLevel=i.newvaluewidth))),i.setPosition(i.currentLoc)}};a.fn.image_zoom=function(t){return this.each(function(){function o(){}var i=a.extend(!0,{},a.fn.image_zoom.options,t);o.prototype=e,(new o).init(i,this)})},a.fn.image_zoom.options={zoomEnabled:!0,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:.1,minZoomLevel:!1,maxZoomLevel:!1,easingAmount:12,lensSize:200,zoomWindowWidth:400,zoomWindowHeight:360,zoomWindowOffsetx:0,zoomWindowOffsety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",zoomWindowShadow:4,lensFadeIn:!1,lensFadeOut:!1,lensOverlay:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",borderRadius:0,lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:.4,cursor:"default",responsive:!1,responsiveThreshold:550,customText:"",customTextSize:12,customTextColor:"#ccc",customTextAlign:"bottom",customTextVAlign:"right",onComplete:a.noop}}(jQuery,window,document);